﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <title>微街秀跳转</title>
    <script src="js/jquery-1.7.1.js" type="text/javascript"></script>
    <script src="/client/js/base.js" type="text/javascript"></script>
    <script src="/client/js/dialog.js" type="text/javascript"></script>
    <script>
        $(function () {
            var userid = getQueryString("userid");
            var token = getQueryString("token");
            var logintype = getQueryString("logintype");
            var parentid = getQueryString("parentid");
            if (userid == null || token == null || logintype == null || isNaN(userid) || token.length != 32) {
                Alert('参数错误');
                return;
            }
            GoPage(logintype, userid, token, parentid);
        });

        function GoPage(logintype, userid, token, parentid) {
            SetCookie("token", token);
            SetCookie("userid", userid);
            SetCookie("logintype", logintype);
            SetCookie("parentid", parentid);
            window.location.href = "/passport";
        }

    </script>
</head>
<body>
正在跳转页面...
</body>
</html>
